package net.qiqbframework.common.lock;

public interface Lock extends AutoCloseable {


    @Override
    default void close() {
        release();
    }


    void release();


    boolean isHeld();
}
